.class public Les/ia;
.super Les/t9;
.source "ImageProcessor.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/ia$b;,
        Les/ia$c;
    }
.end annotation


# instance fields
.field private b:Ljava/lang/String;

.field private c:Les/ia$b;

.field private d:Les/f8;

.field private e:Les/t7;

.field private f:Les/a8;

.field private g:Landroid/graphics/Bitmap;

.field private h:Landroid/view/Surface;

.field private i:J

.field private j:Z

.field private k:Z

.field private l:Z

.field private m:Z

.field private n:J

.field private o:J

.field private p:Les/q7;

.field private q:Lcom/esfile/screen/recorder/media/glutils/c;

.field private r:Les/ga;

.field private s:Les/ia$c;

.field private t:I

.field private u:Les/l9$h;


# direct methods
.method public constructor <init>(Ljava/lang/String;Les/ia$b;Les/f8;Les/t7;)V
    .locals 2

    .line 1
    invoke-direct {p0}, Les/t9;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Les/ia;->j:Z

    .line 3
    iput-boolean v0, p0, Les/ia;->k:Z

    .line 4
    iput-boolean v0, p0, Les/ia;->l:Z

    .line 5
    iput-boolean v0, p0, Les/ia;->m:Z

    const-wide/16 v0, 0x0

    .line 6
    iput-wide v0, p0, Les/ia;->n:J

    const-wide/16 v0, -0x1

    .line 7
    iput-wide v0, p0, Les/ia;->o:J

    .line 8
    new-instance v0, Les/ia$a;

    invoke-direct {v0, p0}, Les/ia$a;-><init>(Les/ia;)V

    iput-object v0, p0, Les/ia;->u:Les/l9$h;

    .line 9
    iput-object p1, p0, Les/ia;->b:Ljava/lang/String;

    .line 10
    iput-object p2, p0, Les/ia;->c:Les/ia$b;

    .line 11
    iput-object p3, p0, Les/ia;->d:Les/f8;

    .line 12
    iput-object p4, p0, Les/ia;->e:Les/t7;

    .line 13
    iget-object p1, p2, Les/ia$b;->o:Les/b8;

    if-eqz p1, :cond_0

    .line 14
    new-instance p2, Les/a8;

    invoke-direct {p2, p1}, Les/a8;-><init>(Les/b8;)V

    iput-object p2, p0, Les/ia;->f:Les/a8;

    .line 15
    :cond_0
    new-instance p1, Landroid/os/HandlerThread;

    const-string p2, "ImageProcessor"

    invoke-direct {p1, p2}, Landroid/os/HandlerThread;-><init>(Ljava/lang/String;)V

    .line 16
    invoke-virtual {p1}, Landroid/os/HandlerThread;->start()V

    .line 17
    new-instance p2, Les/ia$c;

    invoke-virtual {p1}, Landroid/os/HandlerThread;->getLooper()Landroid/os/Looper;

    move-result-object p1

    invoke-direct {p2, p0, p1}, Les/ia$c;-><init>(Les/ia;Landroid/os/Looper;)V

    iput-object p2, p0, Les/ia;->s:Les/ia$c;

    return-void
.end method

.method static synthetic a(Les/ia;J)J
    .locals 0

    .line 6
    invoke-direct {p0, p1, p2}, Les/ia;->b(J)J

    move-result-wide p0

    return-wide p0
.end method

.method static synthetic a(Les/ia;)Z
    .locals 0

    .line 1
    invoke-direct {p0}, Les/ia;->k()Z

    move-result p0

    return p0
.end method

.method static synthetic a(Les/ia;Landroid/media/MediaFormat;)Z
    .locals 0

    .line 4
    invoke-virtual {p0, p1}, Les/t9;->a(Landroid/media/MediaFormat;)Z

    move-result p0

    return p0
.end method

.method static synthetic a(Les/ia;Lcom/esfile/screen/recorder/media/util/l;)Z
    .locals 0

    .line 5
    invoke-virtual {p0, p1}, Les/t9;->a(Lcom/esfile/screen/recorder/media/util/l;)Z

    move-result p0

    return p0
.end method

.method static synthetic a(Les/ia;Ljava/lang/Exception;)Z
    .locals 0

    .line 3
    invoke-virtual {p0, p1}, Les/t9;->a(Ljava/lang/Exception;)Z

    move-result p0

    return p0
.end method

.method static synthetic a(Les/ia;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Les/ia;->m:Z

    return p1
.end method

.method private declared-synchronized b(J)J
    .locals 5

    monitor-enter p0

    .line 4
    :try_start_0
    iget-wide v0, p0, Les/ia;->o:J

    cmp-long v2, p1, v0

    if-ltz v2, :cond_1

    .line 5
    iget-wide v0, p0, Les/ia;->o:J

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-ltz v4, :cond_0

    .line 6
    iget-wide v0, p0, Les/ia;->n:J

    iget-wide v2, p0, Les/ia;->o:J

    sub-long v2, p1, v2

    add-long/2addr v0, v2

    iput-wide v0, p0, Les/ia;->n:J

    .line 7
    :cond_0
    iput-wide p1, p0, Les/ia;->o:J

    .line 8
    :cond_1
    iget-wide p1, p0, Les/ia;->n:J
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-wide p1

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method static synthetic b(Les/ia;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Les/ia;->m:Z

    return p0
.end method

.method static synthetic b(Les/ia;Ljava/lang/Exception;)Z
    .locals 0

    .line 2
    invoke-virtual {p0, p1}, Les/t9;->a(Ljava/lang/Exception;)Z

    move-result p0

    return p0
.end method

.method static synthetic b(Les/ia;Z)Z
    .locals 0

    .line 3
    iput-boolean p1, p0, Les/ia;->k:Z

    return p1
.end method

.method static synthetic c(Les/ia;)Les/q7;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ia;->p:Les/q7;

    return-object p0
.end method

.method static synthetic d(Les/ia;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Les/ia;->i:J

    return-wide v0
.end method

.method static synthetic e(Les/ia;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Les/ia;->l()V

    return-void
.end method

.method static synthetic f(Les/ia;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Les/ia;->l:Z

    return p0
.end method

.method static synthetic g(Les/ia;)I
    .locals 0

    .line 1
    iget p0, p0, Les/ia;->t:I

    return p0
.end method

.method static synthetic h(Les/ia;)Les/ia$b;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ia;->c:Les/ia$b;

    return-object p0
.end method

.method static synthetic i(Les/ia;)Les/ga;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ia;->r:Les/ga;

    return-object p0
.end method

.method static synthetic j(Les/ia;)Lcom/esfile/screen/recorder/media/glutils/c;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ia;->q:Lcom/esfile/screen/recorder/media/glutils/c;

    return-object p0
.end method

.method private j()Z
    .locals 6

    .line 2
    iget-object v0, p0, Les/ia;->c:Les/ia$b;

    const/4 v1, 0x0

    if-eqz v0, :cond_8

    iget-object v0, v0, Les/ia$b;->n:Ljava/lang/Object;

    if-nez v0, :cond_0

    goto/16 :goto_3

    .line 3
    :cond_0
    instance-of v2, v0, Landroid/graphics/Bitmap;

    if-eqz v2, :cond_1

    .line 4
    check-cast v0, Landroid/graphics/Bitmap;

    iput-object v0, p0, Les/ia;->g:Landroid/graphics/Bitmap;

    goto :goto_0

    .line 5
    :cond_1
    instance-of v2, v0, Ljava/lang/String;

    if-eqz v2, :cond_2

    .line 6
    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Landroid/graphics/BitmapFactory;->decodeFile(Ljava/lang/String;)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Les/ia;->g:Landroid/graphics/Bitmap;

    goto :goto_0

    .line 7
    :cond_2
    instance-of v2, v0, Ljava/lang/Integer;

    if-eqz v2, :cond_3

    .line 8
    invoke-static {}, Lcom/esfile/screen/recorder/media/d;->a()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    iget-object v2, p0, Les/ia;->c:Les/ia$b;

    iget-object v2, v2, Les/ia$b;->n:Ljava/lang/Object;

    check-cast v2, Ljava/lang/Integer;

    .line 9
    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    .line 10
    invoke-static {v0, v2}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Les/ia;->g:Landroid/graphics/Bitmap;

    goto :goto_0

    .line 11
    :cond_3
    instance-of v2, v0, Les/h8;

    if-eqz v2, :cond_4

    .line 12
    check-cast v0, Les/h8;

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Les/h8;->a(Lcom/esfile/screen/recorder/media/util/y;)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Les/ia;->g:Landroid/graphics/Bitmap;

    .line 13
    :cond_4
    :goto_0
    iget-object v0, p0, Les/ia;->g:Landroid/graphics/Bitmap;

    if-nez v0, :cond_5

    return v1

    .line 14
    :cond_5
    invoke-virtual {p0}, Les/ia;->e()V

    .line 15
    iget-object v0, p0, Les/ia;->c:Les/ia$b;

    iget-wide v2, v0, Les/ia$b;->g:J

    const-wide/16 v4, 0x0

    invoke-static {v2, v3, v4, v5}, Ljava/lang/Math;->max(JJ)J

    move-result-wide v2

    iput-wide v2, v0, Les/ia$b;->g:J

    .line 16
    iget-object v0, p0, Les/ia;->s:Les/ia$c;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 17
    monitor-enter p0

    .line 18
    :goto_1
    :try_start_0
    iget-boolean v0, p0, Les/ia;->k:Z

    if-nez v0, :cond_6

    .line 19
    invoke-virtual {p0}, Ljava/lang/Object;->wait()V
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_1

    :catchall_0
    move-exception v0

    goto :goto_2

    .line 20
    :catch_0
    :cond_6
    :try_start_1
    monitor-exit p0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 21
    iget-object v0, p0, Les/ia;->p:Les/q7;

    if-eqz v0, :cond_7

    const/4 v1, 0x1

    :cond_7
    return v1

    .line 22
    :goto_2
    :try_start_2
    monitor-exit p0
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    throw v0

    :cond_8
    :goto_3
    return v1
.end method

.method static synthetic k(Les/ia;)Landroid/view/Surface;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ia;->h:Landroid/view/Surface;

    return-object p0
.end method

.method private k()Z
    .locals 8

    .line 2
    iget-object v0, p0, Les/ia;->c:Les/ia$b;

    iget-wide v1, v0, Les/ia$b;->h:J

    iget-wide v3, v0, Les/ia$b;->g:J

    sub-long/2addr v1, v3

    iput-wide v1, p0, Les/ia;->i:J

    const-wide/16 v3, 0x0

    cmp-long v0, v1, v3

    if-gtz v0, :cond_0

    const-wide/32 v1, 0x2dc6c0

    .line 3
    :cond_0
    iput-wide v1, p0, Les/ia;->i:J

    .line 4
    iget-object v0, p0, Les/ia;->c:Les/ia$b;

    iget-wide v1, v0, Les/ia$b;->g:J

    invoke-static {v1, v2, v3, v4}, Ljava/lang/Math;->max(JJ)J

    move-result-wide v1

    iput-wide v1, v0, Les/ia$b;->g:J

    .line 5
    iget-object v0, p0, Les/ia;->c:Les/ia$b;

    iget-wide v1, v0, Les/ia$b;->h:J

    cmp-long v5, v1, v3

    if-gez v5, :cond_1

    iget-wide v1, p0, Les/ia;->i:J

    goto :goto_0

    :cond_1
    iget-wide v3, p0, Les/ia;->i:J

    invoke-static {v3, v4, v1, v2}, Ljava/lang/Math;->min(JJ)J

    move-result-wide v1

    :goto_0
    iput-wide v1, v0, Les/ia$b;->h:J

    .line 6
    iget-object v0, p0, Les/ia;->c:Les/ia$b;

    iget v0, v0, Les/ia$b;->d:I

    iput v0, p0, Les/ia;->t:I

    if-gtz v0, :cond_2

    const/16 v0, 0x19

    .line 7
    iput v0, p0, Les/ia;->t:I

    .line 8
    :cond_2
    new-instance v0, Les/q7;

    iget-object v1, p0, Les/ia;->c:Les/ia$b;

    iget v2, v1, Les/ia$b;->a:I

    iget v3, v1, Les/ia$b;->b:I

    iget v4, v1, Les/ia$b;->c:I

    iget v5, v1, Les/ia$b;->d:I

    iget v6, v1, Les/ia$b;->e:I

    iget v7, v1, Les/ia$b;->f:I

    move-object v1, v0

    invoke-direct/range {v1 .. v7}, Les/q7;-><init>(IIIIII)V

    iput-object v0, p0, Les/ia;->p:Les/q7;

    .line 9
    new-instance v0, Landroid/os/HandlerThread;

    const-string v1, "VideoProcessorEnc"

    invoke-direct {v0, v1}, Landroid/os/HandlerThread;-><init>(Ljava/lang/String;)V

    .line 10
    invoke-virtual {v0}, Landroid/os/HandlerThread;->start()V

    .line 11
    iget-object v1, p0, Les/ia;->p:Les/q7;

    iget-object v2, p0, Les/ia;->u:Les/l9$h;

    new-instance v3, Landroid/os/Handler;

    invoke-virtual {v0}, Landroid/os/HandlerThread;->getLooper()Landroid/os/Looper;

    move-result-object v0

    invoke-direct {v3, v0}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    invoke-virtual {v1, v2, v3}, Les/l9;->a(Les/l9$h;Landroid/os/Handler;)V

    const/4 v0, 0x0

    .line 12
    :try_start_0
    iget-object v1, p0, Les/ia;->p:Les/q7;

    invoke-virtual {v1}, Les/o7;->n()Z

    move-result v1

    if-eqz v1, :cond_7

    .line 13
    new-instance v1, Lcom/esfile/screen/recorder/media/glutils/c;

    iget-object v2, p0, Les/ia;->p:Les/q7;

    invoke-virtual {v2}, Les/q7;->D()Landroid/view/Surface;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/esfile/screen/recorder/media/glutils/c;-><init>(Landroid/view/Surface;)V

    iput-object v1, p0, Les/ia;->q:Lcom/esfile/screen/recorder/media/glutils/c;

    .line 14
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/media/glutils/c;->a()V

    .line 15
    iget-object v1, p0, Les/ia;->c:Les/ia$b;

    iget v1, v1, Les/ia$b;->j:I

    const/16 v2, 0x5a

    const/4 v3, 0x1

    if-eq v1, v2, :cond_4

    const/16 v2, 0x10e

    if-ne v1, v2, :cond_3

    goto :goto_1

    :cond_3
    const/4 v1, 0x0

    goto :goto_2

    :cond_4
    :goto_1
    const/4 v1, 0x1

    .line 16
    :goto_2
    iget-object v2, p0, Les/ia;->p:Les/q7;

    invoke-virtual {v2}, Les/q7;->E()Lcom/esfile/screen/recorder/media/util/y;

    move-result-object v2

    .line 17
    new-instance v4, Les/ga;

    invoke-virtual {v2}, Lcom/esfile/screen/recorder/media/util/y;->b()I

    move-result v5

    invoke-virtual {v2}, Lcom/esfile/screen/recorder/media/util/y;->a()I

    move-result v2

    if-nez v1, :cond_5

    iget-object v6, p0, Les/ia;->c:Les/ia$b;

    iget v6, v6, Les/ia$b;->a:I

    goto :goto_3

    :cond_5
    iget-object v6, p0, Les/ia;->c:Les/ia$b;

    iget v6, v6, Les/ia$b;->b:I

    :goto_3
    if-nez v1, :cond_6

    iget-object v1, p0, Les/ia;->c:Les/ia$b;

    iget v1, v1, Les/ia$b;->b:I

    goto :goto_4

    :cond_6
    iget-object v1, p0, Les/ia;->c:Les/ia$b;

    iget v1, v1, Les/ia$b;->a:I

    :goto_4
    invoke-direct {v4, v5, v2, v6, v1}, Les/ga;-><init>(IIII)V

    iput-object v4, p0, Les/ia;->r:Les/ga;

    .line 18
    iget-object v1, p0, Les/ia;->d:Les/f8;

    invoke-virtual {v4, v1}, Les/ga;->a(Les/f8;)V

    .line 19
    iget-object v1, p0, Les/ia;->r:Les/ga;

    iget-object v2, p0, Les/ia;->e:Les/t7;

    invoke-virtual {v1, v2}, Les/ga;->a(Les/t7;)V

    .line 20
    iget-object v1, p0, Les/ia;->r:Les/ga;

    iget-object v2, p0, Les/ia;->f:Les/a8;

    invoke-virtual {v1, v2}, Les/ga;->a(Les/a8;)V

    .line 21
    iget-object v1, p0, Les/ia;->r:Les/ga;

    iget-object v2, p0, Les/ia;->c:Les/ia$b;

    iget-object v2, v2, Les/ia$b;->i:Lcom/esfile/screen/recorder/media/util/ScaleTypeUtil$ScaleType;

    invoke-virtual {v1, v2}, Les/ga;->a(Lcom/esfile/screen/recorder/media/util/ScaleTypeUtil$ScaleType;)V

    .line 22
    iget-object v1, p0, Les/ia;->r:Les/ga;

    iget-object v2, p0, Les/ia;->c:Les/ia$b;

    iget v2, v2, Les/ia$b;->j:I

    invoke-virtual {v1, v2}, Les/ga;->a(I)V

    .line 23
    iget-object v1, p0, Les/ia;->r:Les/ga;

    iget-object v2, p0, Les/ia;->c:Les/ia$b;

    iget-object v2, v2, Les/ia$b;->k:Landroid/graphics/RectF;

    iget-object v4, p0, Les/ia;->c:Les/ia$b;

    iget-boolean v4, v4, Les/ia$b;->l:Z

    invoke-virtual {v1, v2, v4}, Les/ga;->a(Landroid/graphics/RectF;Z)V

    .line 24
    iget-object v1, p0, Les/ia;->r:Les/ga;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/media/glutils/d;->c()Landroid/view/Surface;

    move-result-object v1

    iput-object v1, p0, Les/ia;->h:Landroid/view/Surface;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return v3

    :catch_0
    move-exception v1

    .line 25
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_7
    return v0
.end method

.method static synthetic l(Les/ia;)Landroid/graphics/Bitmap;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ia;->g:Landroid/graphics/Bitmap;

    return-object p0
.end method

.method private l()V
    .locals 2

    .line 2
    iget-object v0, p0, Les/ia;->p:Les/q7;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Les/l9;->r()V

    .line 4
    :cond_0
    iget-object v0, p0, Les/ia;->q:Lcom/esfile/screen/recorder/media/glutils/c;

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    .line 5
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/glutils/c;->b()V

    .line 6
    iput-object v1, p0, Les/ia;->q:Lcom/esfile/screen/recorder/media/glutils/c;

    .line 7
    :cond_1
    iget-object v0, p0, Les/ia;->r:Les/ga;

    if-eqz v0, :cond_2

    .line 8
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/glutils/d;->h()V

    .line 9
    iput-object v1, p0, Les/ia;->r:Les/ga;

    :cond_2
    return-void
.end method


# virtual methods
.method public declared-synchronized a(J)V
    .locals 1

    monitor-enter p0

    .line 7
    :try_start_0
    iget-boolean v0, p0, Les/ia;->l:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz v0, :cond_0

    .line 8
    monitor-exit p0

    return-void

    .line 9
    :cond_0
    :try_start_1
    iput-wide p1, p0, Les/ia;->n:J
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 10
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method protected a()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method protected c()Z
    .locals 1

    .line 2
    invoke-virtual {p0}, Les/ia;->e()V

    .line 3
    invoke-super {p0}, Les/t9;->c()Z

    move-result v0

    return v0
.end method

.method public d()V
    .locals 0

    .line 2
    invoke-super {p0}, Les/t9;->d()V

    .line 3
    invoke-virtual {p0}, Les/ia;->g()V

    .line 4
    invoke-virtual {p0}, Les/ia;->h()V

    return-void
.end method

.method public e()V
    .locals 2

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Les/ia;->l:Z

    .line 3
    iget-object v0, p0, Les/ia;->s:Les/ia$c;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 4
    monitor-enter p0

    .line 5
    :goto_0
    :try_start_0
    iget-boolean v0, p0, Les/ia;->m:Z

    if-nez v0, :cond_0

    .line 6
    invoke-virtual {p0}, Ljava/lang/Object;->wait()V
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v0

    goto :goto_1

    .line 7
    :catch_0
    :cond_0
    :try_start_1
    monitor-exit p0

    return-void

    :goto_1
    monitor-exit p0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_3

    :goto_2
    throw v0

    :goto_3
    goto :goto_2
.end method

.method public f()Landroid/graphics/Bitmap;
    .locals 1

    const/4 v0, 0x1

    .line 2
    iput-boolean v0, p0, Les/ia;->j:Z

    .line 3
    iget-object v0, p0, Les/ia;->g:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method public g()V
    .locals 2

    .line 2
    iget-object v0, p0, Les/ia;->c:Les/ia$b;

    if-eqz v0, :cond_0

    iget-object v0, v0, Les/ia$b;->o:Les/b8;

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, v0, Les/b8;->b:Ljava/lang/Object;

    instance-of v1, v0, Landroid/graphics/Bitmap;

    if-eqz v1, :cond_0

    .line 4
    check-cast v0, Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    .line 5
    iget-object v0, p0, Les/ia;->c:Les/ia$b;

    iget-object v0, v0, Les/ia$b;->o:Les/b8;

    const/4 v1, 0x0

    iput-object v1, v0, Les/b8;->b:Ljava/lang/Object;

    .line 6
    :cond_0
    iget-object v0, p0, Les/ia;->f:Les/a8;

    if-eqz v0, :cond_1

    .line 7
    invoke-virtual {v0}, Les/a8;->a()V

    :cond_1
    return-void
.end method

.method public h()V
    .locals 1

    .line 2
    iget-boolean v0, p0, Les/ia;->j:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Les/ia;->g:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v0

    if-nez v0, :cond_0

    .line 3
    iget-object v0, p0, Les/ia;->g:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    :cond_0
    const/4 v0, 0x0

    .line 4
    iput-object v0, p0, Les/ia;->g:Landroid/graphics/Bitmap;

    return-void
.end method

.method public i()Z
    .locals 3

    .line 2
    invoke-direct {p0}, Les/ia;->j()Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    .line 3
    iget-object v0, p0, Les/ia;->p:Les/q7;

    const/4 v2, 0x1

    if-eqz v0, :cond_0

    .line 4
    invoke-virtual {v0}, Les/l9;->p()V

    .line 5
    iget-object v0, p0, Les/ia;->s:Les/ia$c;

    invoke-virtual {v0, v2, v1, v1}, Landroid/os/Handler;->obtainMessage(III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    .line 6
    :cond_0
    iput-boolean v2, p0, Les/ia;->l:Z

    return v2

    :cond_1
    return v1
.end method
